﻿using DevExpress.XtraBars.Docking2010.Views;
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;

namespace XCI.Windows
{
    /// <summary>
    /// 部件接口
    /// </summary>
    public interface IWidget
    {
        /// <summary>
        /// 创建控件
        /// </summary>
        /// <param name="paramMap">参数字典</param>
        Control CreateInstance(Dictionary<string,string> paramMap);

        /// <summary>
        /// 创建文档对象
        /// </summary>
        BaseDocument CreateDocument();
    }
}
